﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using CrystalDecisions.CrystalReports.Engine;
using BusinessLogic.ProfileManagementLogic;

namespace MockProjectGroupThree.Presentation.Reports
{
    public partial class Report : System.Web.UI.Page
    {
        ClientProfileManagementLogic clientProfile=new ClientProfileManagementLogic();

        protected void Page_Load(object sender, EventArgs e)
        {
            CrystalReportClient reportClient=new CrystalReportClient();
            reportClient.SetDataSource(clientProfile.GetAllClient());
            CrystalReportViewer1.ReportSource = reportClient;
            CrystalReportViewer1.RefreshReport();
        }
    }
}
